package com.bootdo.program.common.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.program.common.dao.PaymentransactionLogDao;
import com.bootdo.program.common.domain.PaymentransactionLogDO;



@Service
public class PaymentransactionLogService{
	@Autowired
	private PaymentransactionLogDao paymentransactionLogDao;
	
	
	public PaymentransactionLogDO get(Long id){
		return paymentransactionLogDao.get(id);
	}
	
	
	public List<PaymentransactionLogDO> list(Map<String, Object> map){
		return paymentransactionLogDao.list(map);
	}
	
	
	public int count(Map<String, Object> map){
		return paymentransactionLogDao.count(map);
	}
	
	
	public int save(PaymentransactionLogDO paymentransactionLog){
		return paymentransactionLogDao.save(paymentransactionLog);
	}
	
	
	public int update(PaymentransactionLogDO paymentransactionLog){
		return paymentransactionLogDao.update(paymentransactionLog);
	}
	
	
	public int remove(Long id){
		return paymentransactionLogDao.remove(id);
	}
	
	
	public int batchRemove(Long[] ids){
		return paymentransactionLogDao.batchRemove(ids);
	}
	
}
